package com.guli.gulimall.product.vo;

import com.guli.gulimall.product.entity.SkuImagesEntity;


import com.guli.gulimall.product.entity.SkuInfoEntity;
import com.guli.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {

    //1 sku基本信息
    private SkuInfoEntity skuInfoEntity;

    //2 sku所有图片
    private List<SkuImagesEntity> imags;

    //3.todo 是否有库存
    private boolean hasStock = true;

    //4.获取spu的销售属性组合。每个attrName对应一个value-list
    /*
        4	颜色	流光幻镜	2,1,3
                	钛空银	9,8,7
                	霓影紫	6,5,4
        6	套餐	套餐一	3,6,9
            	    套餐三	2,5,8
                	套餐二	7,1,4

     */
    private List<ItemSaleAttrVo> saleAttr;

    //5. spu介绍
    private SpuInfoDescEntity spuInfoDescEntity;

    //6 规格属性
    private List<SpuItemAttrGroup> groupAttrs;

    //todo 秒杀信息


}
